read pdf content and validate using selenium java